class_name = "CShip"
object_name = "Large Cargo Ship type 1"
detail_type = "DET_SHIP" //list of types is in \inc\SimulationSystem\DetailTypes.inc

//////	PhysicsBody properties
//VisualImage = <int TYPE>,<string File_PathName>,<bool cast_shadows>

VisualImage=0,"graphics/ships/LibertyShip/LibertyShip.mgm",true
DistantLOD="LuaScripts/WorldObjects/Ships/DistantLODs/LibertyShip_Distant.txt"
DLODArgs=63227,63228

ImageAttrs="IA_NOMINPIXELS","IA_NOMINZ","IA_NOCLIP_ANIM","IA_NOCLIP","IA_ALWAYSVISIBLE"

CollisionBody="graphics/ships/LibertyShip/LibertyShip.col"

SoundScript="LuaScripts/Sound/Vehicles/LibertyShip.cfg"

[attach=0]
	position= 8.015,11.277,-0.027
	object = "LuaScripts/WorldObjects/Bots/BotShipper.txt"
[end]

[attach=1]
	position= 63.996, 9.055, 0
	rotation= 0, 0, 0
	object = "LuaScripts/WorldObjects/Ships/Turrets/LibertyShip-76mm.txt"
[end]

[attach=2]
	position= -60.644, 7.993, 0
	rotation= 0, 180, 0
	object = "LuaScripts/WorldObjects/Ships/Turrets/BayfieldShip-127mm.txt"
[end]

[attach=3]
	position= 8.153, 12.236, -5.697
	rotation= 0, -45, 0
	object = "LuaScripts/WorldObjects/Ships/Turrets/LibertyShip-20mmx2.txt"
[end]

[attach=4]
	position= 8.153, 12.236, 5.688
	rotation= 0, 45, 0
	object = "LuaScripts/WorldObjects/Ships/Turrets/LibertyShip-20mmx2.txt"
[end]

[attach=5]
	position= -4.295, 12.236, -4.717
	rotation= 0, -135, 0
	object = "LuaScripts/WorldObjects/Ships/Turrets/LibertyShip-20mmx2.txt"
[end]

[attach=6]
	position= -4.295, 12.236, 4.708
	rotation= 0, 135, 0
	object = "LuaScripts/WorldObjects/Ships/Turrets/LibertyShip-20mmx2.txt"
[end]

[attach=7]
	position= 46.011, 7.909, -7.505
	rotation= 0, -90, 0
	object = "LuaScripts/WorldObjects/Ships/Turrets/LCI-Oerlikon20mm.txt"
[end]

[attach=8]
	position= 46.011, 7.885, 7.498
	rotation= 0, 90, 0
	object = "LuaScripts/WorldObjects/Ships/Turrets/LCI-Oerlikon20mm.txt"
[end]

[attach=9]
	position= -54.123, 8.044, -4.885
	rotation= 0, -90, 0
	object = "LuaScripts/WorldObjects/Ships/Turrets/LCI-Oerlikon20mm.txt"
[end]

[attach=10]
	position= -54.123, 8.044, 4.876
	rotation= 0, 90, 0
	object = "LuaScripts/WorldObjects/Ships/Turrets/LCI-Oerlikon20mm.txt"
[end]

[attach=11]
	position= 3.697, 13.364, 6.097
	rotation= 30, 0, 0
	object = "LuaScripts/WorldObjects/FlareGun.txt"
[end]

AttachedCameras = "LuaScripts\WorldObjects\fixcameras\Vehicles\LibertyShip.txt"

CommandMonitor="LuaScripts/WorldObjects/VehicleMonitor.txt"


// 
logtreshold=0.0001
MaxDeleteTime = 600

length = 127.4
height = 5.9
width  = 17.6

TotalPoints = 6

point0=38,0,-7, 5067, 50, 25
point1=38,0,7, 5067, 50, 25
point2=0,0,-8, 5067, 50, 25
point3=0,0,8, 5067, 50, 25
point4=-38,0,-7, 5067, 50, 25
point5=-38,0,7, 5067, 50, 25


//  .  ,   3D .
MaxWaveTime = 15	// 
WavePointSize = 4	// 
MaxWave = 400000	//  

Cx = 8000.0					//  
Cw = 100.0					//     

sendrate = 20				//    50     (=20    2.5)

mass = 14474000.0
MaxEngineForce = 1900000.0
MinEngineForce = 100
Csf=1.5
PrioritySpeed=6.0
MaxPropRotationRPM=120.0	//   (/)    
PropRotationSmoothK=0.01	//     
TurnShift=0.5				//        
RudderAngle=70				//    
Crudder=20					//    (    ,    )
Cwx=10.5					//     , ,  Cw   
Cwz=500						//     , ,  Cwx*20   
Cang=0.5					//  
RudderPos=-68.8,-2.6,0		//     (  )
FrictionPos=0,-8,0			//     
GlidingK = 0.0				//       X    ().   - 0
GlidingPosK = 0.8			//    . 1 -  , 0 -  .

// Damage model

energyloss="",true,6.0,1000		//     , true -       -,       ,        

Armor=6						//   

LifeRate=10000000
LifeRateFrag=10000000

EngineExhaustArg = 63250
BackTrailArg = 63228
FrontTrailArg = 63227
PropSprayArg=63233

[splash]
	pos = 66.49, 0.0, 0
	splashArg = 63224
	SplashTotalTime = 1.0
	SplashAttackTime = 0.1
	SplashKoeff = 30
	startArgValue = 0.5
	
	splashDiffHeight = 2.5
	// time = splashStackCount * splashstacktime
	splashStackCount = 50
	splashstacktime = 0.1
[end]

floathook=66.49, 0.3, 0,	100,false	//x,y,z, Arg, 3D water,      
floathook=-60.92, 0.3, 0,	101,false	//     
floathook=66.49, 0.3, 0,	102,true	//     
floathook=-60.92, 0.3, 0,	103,true	//      

OneSectionMode = true
SectionsHealthPercent = 1.0f

CommandSectionId = 3

MinMovementHealth = 0.3

SinkEffectScript = "LuaScripts/WorldObjects/explosions/Effects/SinkTransport.txt"

[section=0]
	Armor=6						//   

	LifeRate=10000000
	LifeRateFrag=10000000

	ConvexName = "Collision_1"

	// effect
	EffectCoord = 32.489,4.599,1.314
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/ShipMedium.txt"

	DestructArg = 761
	FiringArg = 63215
	SmokeArgBase = 63215
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.48			// ,    
	FireEffectTime = 300.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0.0016	//  ,  Life  
	Firing=0.0008					//     ,  Life  

	MinMovementHealth = 0.2			// ,    
	MinAttackHealth = 0.05			// ,    

	CollisionLifeRate = 28000000	//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 560000	//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      

	pointsTotal= 2
	point0 = 0
	point1 = 1
[end]

[section=1]
	Armor=6						//   

	LifeRate=10000000
	LifeRateFrag=10000000

	ConvexName = "Collision_2"

	// effect
	EffectCoord = -1.358,6.828,-6.925
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/ShipMedium.txt"

	DestructArg = 771
	FiringArg = 63216
	SmokeArgBase = 63216
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.48			// ,    
	FireEffectTime = 300.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0.0016	//  ,  Life  
	Firing=0.0008					//     ,  Life  

	MinMovementHealth = 0.2			// ,    
	MinAttackHealth = 0.05			// ,    

	CollisionLifeRate = 28000000	//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 560000	//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      

	pointsTotal= 1
	point0 = 2
[end]

[section=2]
	Armor=6						//   

	LifeRate=10000000
	LifeRateFrag=10000000

	ConvexName = "Collision_3"

	// effect
	EffectCoord = -38.197,4.640,7.216
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/ShipMedium.txt"

	DestructArg = 781
	FiringArg = 63217
	SmokeArgBase = 63217
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.48			// ,    
	FireEffectTime = 300.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0.0016	//  ,  Life  
	Firing=0.0008					//     ,  Life  

	MinMovementHealth = 0.2			// ,    
	MinAttackHealth = 0.05			// ,    

	CollisionLifeRate = 28000000	//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 560000	//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      

	pointsTotal= 1
	point0 = 5

[end]

[section=4]
	Armor=2						//   

	LifeRate=5000000
	LifeRateFrag=5000000

	InfluenceOnTotalHealth = false

	ConvexName = "Collision_4"

	// effect
	EffectCoord = -0.380,11.832,4.510
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/VehicleNoDmg.txt"

	DestructArg = 901
	FiringArg = 63210
	SmokeArgBase = 63210
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.48			// ,    
	FireEffectTime = 300.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0.0016	//  ,  Life  
	Firing=0.0008					//     ,  Life  

	CollisionLifeRate = 5600000		//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 112000	//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      
[end]

DebugInfo = false